package com.untrance.shop.core.service;

import com.google.appengine.api.datastore.Key;
import com.untrance.shop.common.vo.CommentVO;
import com.untrance.shop.model.Comment;

import java.util.List;

/**
 * @author eugene zadyra
 */
public interface CommentService {
	List<CommentVO> getCommentsRelatedToProduct(Key productKey, Integer page, Integer itemsPerPage);
	Comment addComment(Comment comment);
	Integer getCommentsCountForProduct(Key productKey);
}
